package com.yonyou.gmcc.gateway.web.dao;

import com.yonyou.gmcc.gateway.web.entity.TmRole;
import com.yonyou.gmcc.gateway.web.entity.TmRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

public interface TmRoleMapper extends Mapper<TmRole> {
	List<TmRole> selectByUserCode(@Param("userCode") String record);
	
    int countByExample(TmRoleExample example);

    int deleteByExample(TmRoleExample example);

    List<TmRole> selectByExample(TmRoleExample example);

    int updateByExampleSelective(@Param("record") TmRole record, @Param("example") TmRoleExample example);

    int updateByExample(@Param("record") TmRole record, @Param("example") TmRoleExample example);
}